Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point factories

Documentation

Publish a class that will be call backed at initialization time for registering resources.

The following information have to be provided : the fully qualified factory class name. The referenced class should implement ResourceFactory class.

The following line figures out how to publish a factory.
<factory class="my.FactoryClass">

Contribution Descriptors

  • Class: org.nuxeo.runtime.management.ResourceFactoryDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-core-management-10.10-HF19.jar /OSGI-INF/runtime-management-contrib.xml
    <extension point="factories" target="org.nuxeo.runtime.management.ResourcePublisher">
        <factory class="org.nuxeo.ecm.core.management.StatusesManagementFactory" name="managementStatusesFactory"/>
        <factory class="org.nuxeo.ecm.core.management.events.EventMonitoringFactory" name="EventMonitoring"/>
         <factory class="org.nuxeo.ecm.core.management.works.WorksMonitoringFactory" name="WorkMonitoring"/>       
      </extension>
  • nuxeo-core-storage-sql-management-10.10.jar /OSGI-INF/management-contrib.xml
    <extension point="factories" target="org.nuxeo.runtime.management.ResourcePublisher">
        <factory class="org.nuxeo.ecm.core.storage.sql.management.SQLRepositoryStatusFactory" name="SQLRepositoryStatus"/>
      </extension>